package com.starlight.flower_server.domain.service;

import com.starlight.flower_server.domain.TotalData;
import com.starlight.flower_server.domain.item.data.ItemData;
import com.starlight.flower_server.domain.itemCategory.data.ItemCategoryData;
import com.starlight.flower_server.domain.itemCategory.data.ItemCategoryWithAllSubData;
import com.starlight.flower_server.infrastructure.entity.ItemCategory;

import java.util.List;

/**
 * @Author yfy2001
 * @date 2023/5/22 19:19
 */
public interface ItemCategoryService {
    ItemCategory queryItemCategoryDetailById(Long id);

    Integer logicDeleteItemCategoryById(Long id);

    Integer insertItemCategory(ItemCategory itemCategory);

    Integer modifyItemCategory(ItemCategory itemCategory);

    ItemCategoryWithAllSubData querySubItemCategory(Long parentId);

    TotalData<ItemCategoryData> queryAllItemCategoryData();
}
